import { defineStore } from "pinia";
import { ref } from 'vue'
import { ElMessage } from "element-plus";
export const useCartStore = defineStore('cart', () => {
    //购物车
    const selectionList = ref([])
    const modifySelection = (list) => {
        selectionList.value = list;
    }


    return { selectionList, modifySelection }
}, {
    persist: true
})
